<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('项目详情')" />
    <th:block th:include="include :: jsonview-css" />
    <th:block th:include="includeProject :: project-css" />
</head>
<body class="gray-bg">
    <div class="wrapper wrapper-content">
        <div class="col-sm-12">
            <div class="row">
                <div class="col-sm-12">
                    <th:block th:include="includeProject :: projectInfo" />
                </div>
            </div>
            <div class="row">
                <div class="col-sm-12">
                    <th:block th:include="includeProject :: projectConstructorInfo" />
                </div>
            </div>
            <div class="row">
                <div class="col-sm-12">
                    <th:block th:include="includeProject :: projectInvestInfo('资金落实情况')" />
                </div>
            </div>
            <div class="row" th:if="${project.isSixDone} == 0">
                <div class="col-sm-12">
                    <th:block th:include="includeProject :: projectSixDone" />
                </div>
            </div>
            <div class="row">
                <div class="col-sm-12">
                    <th:block th:include="includeProject :: approveLogs" />
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-offset-5 col-sm-10">
            <button type="button" class="btn btn-sm" onclick="closeItem()"><i class="fa fa-reply-all"></i>返 回</button>
            <button th:if="${source} == null" type="button" class="btn btn-sm btn-danger" onclick="withdrawProject()"><i class="fa fa-remove"></i>撤 回</button>
        </div>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: select2-js" />
    <th:block th:include="includeProject :: project-js" />
    <script th:inline="javascript">
        function withdrawProject() {
            $.modal.confirm("确定撤回项目信息吗？", function() {
                var projectId = $('#projectId').val();
                $.operate.saveTab(ctx + "manage/project/withdraw", {'projectId':projectId});
            });
        }
    </script>
</body>
</html>